package com.aspose.cells;

abstract class zzn extends zaag {
   abstract boolean a(int var1);

   protected zagu l(zaay var1) {
      zagu var2 = this.a.e(var1);
      if (var2.b() == 0) {
         return var2;
      } else {
         zagu var3 = this.b.e(var1);
         if (var3.b() == 0) {
            return var3;
         } else {
            int var4;
            if (var2 == var3) {
               var4 = 0;
            } else {
               switch(var3.b()) {
               case 1:
                  var4 = zmu.a(var2, ((zyv)var3).k(), var1);
                  break;
               case 2:
                  var4 = zmy.a(var2, ((zaam)var3).k(), var1);
                  break;
               case 3:
                  var4 = zmx.a(var2, ((zyy)var3).k(), var1);
                  break;
               case 12:
                  var4 = zmw.a(var2, var1);
                  break;
               default:
                  if (var1.p.Q.i.a) {
                     com.aspose.cells.a.c.zl.a("Unsupported node type to compare for Operator: " + var3.b());
                  }

                  var4 = -1;
               }
            }

            return this.a(var4) ? zyx.a : zyw.a;
         }
      }
   }
}
